package com.ham.mud.rooms;

import com.ham.mud.ServerConnection;

/**
 * Created by hlucas on Jul 21, 2011 at 10:56:42 AM
 */
public class Zone {
    String fileName;
    String name;
    int lowLevel;
    int highLevel;

    public Zone(String fileName, String name, int lowLevel, int highLevel) {
        this.fileName = fileName;
        this.name = name;
        this.lowLevel = lowLevel;
        this.highLevel = highLevel;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getLowLevel() {
        return lowLevel;
    }

    public void setLowLevel(int lowLevel) {
        this.lowLevel = lowLevel;
    }

    public int getHighLevel() {
        return highLevel;
    }

    public void setHighLevel(int highLevel) {
        this.highLevel = highLevel;
    }

    public void display(ServerConnection connection) {
        connection.printSolo("You are in " + name + " [Levels " + lowLevel + " - " + highLevel + "].");
    }
}
